package org.erp.spu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.erp.spu.entity.SpuModelTemplate;
import org.erp.spu.entity.vo.SpuModelTemplateExcelVo;

import java.util.List;

@Mapper
public interface SpuModelTemplateMapper extends BaseMapper<SpuModelTemplate> {

    List<SpuModelTemplateExcelVo> getModelTemplateExportByCategoryId(@Param("categoryId") Long categoryId,
                                                                     @Param("offset") Long offset,
                                                                     @Param("limit") Integer limit);
}
